While native code range-checks the requested address, possibly
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 2 Mar 2006 15:06:51 +0000 (16:06 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 2 Mar 2006 15:06:51 +0000 (16:06 +0100)
commit4ac792ac1dfbd3038abdf5feeb79b9d5eabc8571
tree187e9af34bb5c4cab8319c9142f32c3a3a16fcf1
parent2a335a7802c96150b4778470dedffd8d521a105c
While native code range-checks the requested address, possibly
truncates the range, and then reads/writes page-wise until possibly
encountering a -EFAULT issue, Xen code accessed the whole range in a
single step, thus not allowing partially succeeding accesses.

From: Jan Beulich

Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/drivers/xen/char/mem.c